package com.dmap.admin.po;

import java.io.Serializable;

public class App implements Serializable {
    /**
     * 主键id
     * 表字段 : app.id
     */
    private Long id;

    /**
     * app编号，eg: AP001
     * 表字段 : app.project_id
     */
    private String projectId;

    /**
     * APP名称
     * 表字段 : app.project_name
     */
    private String projectName;

    /**
     * app类型，1公版，2非公版
     * 表字段 : app.project_type
     */
    private Integer projectType;

    /**
     * APP图片url
     * 表字段 : app.app_image_url
     */
    private String appImageUrl;

    /**
     * 状态：1正常，2禁用
     * 表字段 : app.status
     */
    private Integer status;

    /**
     * 备注
     * 表字段 : app.note
     */
    private String note;

    /**
     * 创建时间
     * 表字段 : app.create_time
     */
    private Long createTime;

    /**
     * 最后更新时间
     * 表字段 : app.update_time
     */
    private Long updateTime;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table app
     *
     * @mbggenerated
     */
    private static final long serialVersionUID = 1L;

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table app
     *
     * @mbggenerated
     */
    public App(Long id, String projectId, String projectName, Integer projectType, String appImageUrl, Integer status, String note, Long createTime, Long updateTime) {
        this.id = id;
        this.projectId = projectId;
        this.projectName = projectName;
        this.projectType = projectType;
        this.appImageUrl = appImageUrl;
        this.status = status;
        this.note = note;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table app
     *
     * @mbggenerated
     */
    public App() {
        super();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column app.id
     *
     * @return the value of app.id
     *
     * @mbggenerated
     */
    public Long getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column app.id
     *
     * @param id the value for app.id
     *
     * @mbggenerated
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column app.project_id
     *
     * @return the value of app.project_id
     *
     * @mbggenerated
     */
    public String getProjectId() {
        return projectId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column app.project_id
     *
     * @param projectId the value for app.project_id
     *
     * @mbggenerated
     */
    public void setProjectId(String projectId) {
        this.projectId = projectId == null ? null : projectId.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column app.project_name
     *
     * @return the value of app.project_name
     *
     * @mbggenerated
     */
    public String getProjectName() {
        return projectName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column app.project_name
     *
     * @param projectName the value for app.project_name
     *
     * @mbggenerated
     */
    public void setProjectName(String projectName) {
        this.projectName = projectName == null ? null : projectName.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column app.project_type
     *
     * @return the value of app.project_type
     *
     * @mbggenerated
     */
    public Integer getProjectType() {
        return projectType;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column app.project_type
     *
     * @param projectType the value for app.project_type
     *
     * @mbggenerated
     */
    public void setProjectType(Integer projectType) {
        this.projectType = projectType;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column app.app_image_url
     *
     * @return the value of app.app_image_url
     *
     * @mbggenerated
     */
    public String getAppImageUrl() {
        return appImageUrl;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column app.app_image_url
     *
     * @param appImageUrl the value for app.app_image_url
     *
     * @mbggenerated
     */
    public void setAppImageUrl(String appImageUrl) {
        this.appImageUrl = appImageUrl == null ? null : appImageUrl.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column app.status
     *
     * @return the value of app.status
     *
     * @mbggenerated
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column app.status
     *
     * @param status the value for app.status
     *
     * @mbggenerated
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column app.note
     *
     * @return the value of app.note
     *
     * @mbggenerated
     */
    public String getNote() {
        return note;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column app.note
     *
     * @param note the value for app.note
     *
     * @mbggenerated
     */
    public void setNote(String note) {
        this.note = note == null ? null : note.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column app.create_time
     *
     * @return the value of app.create_time
     *
     * @mbggenerated
     */
    public Long getCreateTime() {
        return createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column app.create_time
     *
     * @param createTime the value for app.create_time
     *
     * @mbggenerated
     */
    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column app.update_time
     *
     * @return the value of app.update_time
     *
     * @mbggenerated
     */
    public Long getUpdateTime() {
        return updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column app.update_time
     *
     * @param updateTime the value for app.update_time
     *
     * @mbggenerated
     */
    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table app
     *
     * @mbggenerated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", projectId=").append(projectId);
        sb.append(", projectName=").append(projectName);
        sb.append(", projectType=").append(projectType);
        sb.append(", appImageUrl=").append(appImageUrl);
        sb.append(", status=").append(status);
        sb.append(", note=").append(note);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append("]");
        return sb.toString();
    }
}